import React, { Component} from 'react';
require('./css/frame.css');

export default  class P0 extends Component {
	constructor(...args){
		super(...args);
	}

  onClick(){
    this.props.goPage(1);
  }
	render(){
		return (
			<div id="first">
				<div className="open">
					<img src={require("./img/open.jpg")} />
          <p id="go" onClick={this.onClick.bind(this)}>进入课程 >></p>
				</div>
			</div>
		);
	}
}

